package be.vsko.zelfevaluatie.framework;

import java.util.Date;
import java.util.List;

public class Evaluation {
	private Long Key;
	private String attendant;
	private String lastModifiedBy;
	private String institution;
	private Date startDate;
	private Date lastModified;
	private Survey survey;
	private List<Group> groups;
	private List<Statement> schoolSpecificStatements;
	private List<Response> responses;
	
	public Evaluation(String attendant, String institution, Survey survey) {
		super();
		this.attendant = attendant;
		this.lastModifiedBy = attendant;
		this.startDate = new Date();
		this.lastModified = startDate;
		this.institution = institution;
		this.survey = survey;
	}
	
	public Evaluation(String attendant, String institution, Survey survey, List<Group> groups, List<Statement> statements) {
		this(attendant, institution, survey);
		this.groups = groups;
		this.schoolSpecificStatements = statements;
	}

	public Long getKey() {
		return Key;
	}

	public void setKey(Long key) {
		Key = key;
	}

	public String getAttendant() {
		return attendant;
	}

	public void setAttendant(String attendant) {
		this.attendant = attendant;
	}

	public String getLastModifiedBy() {
		return lastModifiedBy;
	}

	public void setLastModifiedBy(String lastModifiedBy) {
		this.lastModifiedBy = lastModifiedBy;
	}

	public String getInstitution() {
		return institution;
	}

	public void setInstitution(String institution) {
		this.institution = institution;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getLastModified() {
		return lastModified;
	}

	public void setLastModified(Date lastModified) {
		this.lastModified = lastModified;
	}

	public Survey getSurvey() {
		return survey;
	}

	public void setSurvey(Survey survey) {
		this.survey = survey;
	}

	public List<Group> getGroups() {
		return groups;
	}

	public void setGroups(List<Group> groups) {
		this.groups = groups;
	}

	public List<Statement> getSchoolSpecificStatements() {
		return schoolSpecificStatements;
	}

	public void setSchoolSpecificStatements(List<Statement> schoolSpecificStatements) {
		this.schoolSpecificStatements = schoolSpecificStatements;
	}

	public List<Response> getResponses() {
		return responses;
	}

	public void setResponses(List<Response> responses) {
		this.responses = responses;
	}
}
